package com.wen.wenconsumer;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;
import org.springframework.cloud.openfeign.EnableFeignClients;

@EnableFeignClients
@SpringBootApplication

@EnableCircuitBreaker
@EnableHystrix
public class WenConsumerApplication {

    public static void main(String[] args) {
        SpringApplication.run(WenConsumerApplication.class, args);
    }

}
